package service

import (
	"github.com/gin-gonic/gin"
	"net/http"
	"weibo/handler/request"
)

func User(c *gin.Context) {
	var form request.AddPost
	if err := c.ShouldBind(&form); err != nil {
		c.JSON(http.StatusBadRequest, gin.H{
			"code": 400,
			"msg":  "参数错误",
		})
		return
	}
}
func Topic(c *gin.Context) {
	var form request.AddPost
	if err := c.ShouldBind(&form); err != nil {
		c.JSON(http.StatusBadRequest, gin.H{
			"code": 400,
			"msg":  "参数错误",
		})
		return
	}
}
func Search(c *gin.Context) {
	var form request.AddPost
	if err := c.ShouldBind(&form); err != nil {
		c.JSON(http.StatusBadRequest, gin.H{
			"code": 400,
			"msg":  "参数错误",
		})
		return
	}
}
